package com.lsc.www.day05;

public class StringTest02 {
    public static void main(String[] args) {
        String str = "hello";
        String str1 = new String("hello");

        if (str==str1){
            System.out.println("相同");
        }else {
            System.out.println("不同S");
        }
    }
}
